package com.JZ.QM.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.JZ.QM.common.utils.PageUtils;
import com.JZ.QM.common.entity.CounselorInfoEntity;

import java.util.Map;

/**
 * 
 *
 * @author lyp
 * @email lyp@gmail.com
 * @date 2020-06-14 11:19:37
 */
public interface CounselorInfoService extends IService<CounselorInfoEntity> {

    PageUtils queryPage(Map<String, Object> params) throws Exception;

    /**
     * 登录功能
     *
     * @param accountCode,password
     */
    boolean login(String accountCode,String password);

    /**
     * 为前端cookie设置name和id属性
     *
     * @param accountCode
     */
    Map<String ,String> getCookie(String accountCode);

}

